package io.github.wanggit.antrpc.demos.circuit_breaker.circuit_breaker_consumer.service;

import io.github.wanggit.antrpc.commons.annotations.OnRpcFail;
import io.github.wanggit.antrpc.demos.circuit_breaker.HasDefaultHandlerBreakerService;

@OnRpcFail(clazz = HasDefaultHandlerBreakerService.class)
public class DefaultHandlerBreakerService implements HasDefaultHandlerBreakerService {
    @Override
    public String reverse(String s) {
        return s + " Reverse Error!";
    }
}
